package com.zyk.scaffold.core.context;

import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class UserContext  implements SubjectContext, Serializable {
    public static final long serialVersionUID = 42L;

    private Long id;
    private String account;
    private String tenantCode;
    private String tenantName;
    private String name;
    private String phone;
    private String email;
    private long expire;
    private List<Map<String, Object>> menuFunctions;

    @Override
    public String getIdentification() {
        return id + "";
    }
}
